* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'OPPO', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 设置滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Firefox滚动条样式 */
* {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

html {
  height: 100%;
  font-size: 15px;

}

body {
  height: 100%;
  color: #333;
  min-width: 1240px;
 
}
body,
ul,
h1,
h3,
h4,
p,
dl,
dd {
  padding: 0;
  margin: 0;
}

input[type='text'],
input[type='search'],
input[type='password'],
input[type='checkbox'] {
  padding: 0;
  outline: none;
  border: none;
  -webkit-appearance: none;
  &::placeholder {
    color: #ccc;
  }
}
img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;

}
ul {
  list-style: none;
}

#app {
  background: #ffffff;
  user-select: none;
}

.container {
  width: 1240px;
  margin: 0 auto;
  position: relative;
}
.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ellipsis-2 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix:after {
  content: '.';
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  clear: both;
}

// reset element
.el-breadcrumb__inner.is-link {
  font-weight: 400 !important;
}

/* 全局回顶部按钮样式 */
.el-backtop {
  background-color: #333 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s !important;
}

.el-backtop:hover {
  background-color: #555 !important;
  transform: translateY(-2px) !important;
  
}

 
.blackBtn {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  margin-top: 10px;
  border: 2px solid #000000;
  border-radius: 60px;
  background: none;
  font-size: .9em;
}

.blackBtn:hover {
  color: white;
  background-color: #000000;
  transition: background-color 0.5s;
}


.redBtn {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  margin-top: 10px;
  border: 2px solid #EC5F59;
  border-radius: 60px;
  background: #EC5F59;
  font-size: .9em;
  color: white;
}

.redBtn:hover {
  color: white;
  background-color: #EC5F59;
border-color: #ffffff;
transition:border-color 0.5s;
}

/* Element Plus Card 组件全局样式 */
.el-card  {
  border-radius: 20px !important;
  overflow: hidden;
  border: 0 !important;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.096);
  
}
